<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>它是如何工作的</title>
    <link rel="stylesheet" href="../../lib/bootstrap3/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../lib/bootstrap3/css/dashboard.css">
    <script src="../../lib/angularjs/angular.js"></script>
</head>
<body>
    <div class="panel panel-primary">
        <div class="panel-heading">不同状态触发的事件列表</div>
        <div class="panel-body">
            <table class="table table-bordered">
                <tr>
                    <td>ngRepeat</td><td>enter、leave、move</td>
                </tr>
                <tr>
                    <td>ngView</td><td>enter、leave</td>
                </tr>
                <tr>
                    <td>ngInclude</td><td>enter、leave</td>
                </tr>
                <tr>
                    <td>ngSwitch</td><td>enter、leave</td>
                </tr>
                <tr>
                    <td>ngIf</td><td>enter、leave</td>
                </tr>
                <tr>
                    <td>ngClass或class="……"</td><td>add、remove</td>
                </tr>
                <tr>
                    <td>ngShow</td><td>add、remove(.ng-class)</td>
                </tr>
                <tr>
                    <td>ngHide</td><td>add、remove</td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>